cmake_minimum_required(VERSION 3.10)

set(projectName leetcodec)

project(${projectName})

if(ENABLE_COVERAGE)
  message(STATUS "Use gcov for code coverage test")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
endif()

add_subdirectory(source/lc)
# add_subdirectory(source/jz)
